//
//  nameModel.m
//  Journey
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "nameModel.h"

@implementation nameModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}


-(void)setGuides:(NSMutableArray *)guides{
    _guides = guides;
    NSMutableArray *guArray = [NSMutableArray array];
    for (NSDictionary *guDic in guides) {
        guidesModel *guimodel = [[guidesModel alloc] init];
        [guimodel setValuesForKeysWithDictionary:guDic];
        [guArray addObject:guimodel];
    }
    _guides = [NSMutableArray arrayWithArray:guArray];
}


@end
